package com.xzkydz.modle;

import com.xzkydz.bean.RequestBgbhBean;
import com.xzkydz.utils.DateUtils;

public class GetRequestBgbhBean implements IGetRequestBgbhBean {


    @Override
    public RequestBgbhBean getRequsetBgbhBean(String appKey, String zjrStr, String bglxStr) {

        RequestBgbhBean requestBgbhBean = new RequestBgbhBean();
        requestBgbhBean.setAppkey(appKey);
        requestBgbhBean.setMethod("getBgbh");
        requestBgbhBean.setParams(new RequestBgbhBean.ParamsBean(zjrStr , bglxStr));
        requestBgbhBean.setTimestamp(DateUtils.dataFormat());
        requestBgbhBean.setSign(new GetSign().getBgbhSign(requestBgbhBean));

        return requestBgbhBean;
    }
}
